home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / Re Kudos and Q's < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.7 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Kudos and Q's
  2. Sent:        5/26/96 9:42 PM
  3. Received:    5/28/96 8:25 AM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >// would be nice if I didn't have to think about FW_gInstance
  9. >FW_CCursor gBrowseCursor(kBrowseCursor, FW_gInstance);
  10. >
  11.  
  12. I look a the code and it looks like your are right, I should have the 
  13. default value be FW_gInstance instead of NULL.
  14.  
  15. >
  16. >The meta-question is: if I use SOM directly, will my source code be
  17. >cross-platform compatible (I know it probably is for OS/2, but what about
  18. >the $20,000 question, Windows95/NT?).
  19. >
  20. It will be cross-platform as long as you don't call any Macintosh 
  21. specific API.
  22.  
  23. >The first more pragmatic question is: I don't really care about the "S",
  24. >".xh" and ".xih" files that are the output of the SOM compiler, do I?  This
  25. >is just stuff to placate the linker and bind my calls, right?
  26. >
  27. .xh and .xih are just like .h files. You need the client of your library 
  28. to include the .xh file in order to call methods of your library. I am 
  29. not the best expert in SOM. I'll let someone else explain that to you.
  30.  
  31. >The second more pragmatic question is: Metrowerks CW9 binds ".idl" with the
  32. >"SOMObjects TS" CodeWarrior plugin, does this mean the Finance SOM example
  33. >could be reworked so it doesn't need the MPW make file (nb, the MPW
  34. >'script' file)?
  35.  
  36. Yes, you just need Toolserver.
  37.  
  38.  
  39. ......................................................................
  40.  Henri Lamiraux                                      lamiraux@apple.com
  41.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  42. ......................................................................
  43.  
  44.